package com.movie.api.model.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 电影VIP表
 */
@Data
@TableName("film_vip")
@NoArgsConstructor
@AllArgsConstructor
public class FilmVip implements Serializable {
    // id
    private Integer id;
    // 电影是否是VIP，默认0，是VIP是1
    private Integer isVip;
    // 关联电影表的id字段唯一键
    private Integer filmId;

    public FilmVip(Integer isVip, Integer filmId) {
        this.isVip = isVip;
        this.filmId = filmId;
    }
}